package com.ucar.train.service.helingang.car;

public class Car {
    public int carId;

    public CarState getCarState() {
        return carState;
    }

    public void setCarState(CarState carState) {
        this.carState = carState;
    }

    @Override
    public String toString() {
        return "Car{" +
                "carId=" + carId +
                ", carState=" + carState +
                '}';
    }

    CarState carState;

    public Car(int carId, CarState carState) {
        this.carId = carId;
        this.carState = carState;
    }
}
